package com.wyz.note.project.security.pojo;

import java.io.Serializable;

/**
 * @Description: 菜单角色关系
 * @Author: wei yz
 * @Date: 2022/6/18 14:30
 */
public class MenuRole implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    private String id;
    /**
     * 菜单
     */
    private String menuId;
    /**
     * 角色
     */
    private String roleId;

    public MenuRole() {
    }

    public MenuRole(String id, String menuId, String roleId) {
        this.id = id;
        this.menuId = menuId;
        this.roleId = roleId;
    }

    @Override
    public String toString() {
        return "MenuRole{" +
                "id='" + id + '\'' +
                ", menuId='" + menuId + '\'' +
                ", roleId='" + roleId + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
}
